/*
 *
 * Saturn Framework Co.Limt
 * Copyright (c) 2012-2019 tanks, Inc. All rights reserved.
 */
 
package com.saturn.config.server.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.saturn.config.server.base.dto.ConfigInfo;
import com.saturn.config.server.base.dto.ConfigLogDto;
import com.saturn.config.server.base.entity.ConfigLog;
import com.saturn.config.server.base.mapper.ConfigLogMapper;
import com.saturn.config.server.service.ConfigLogService;

/**
 * <dl>
 *    <dt><b>Title:</b></dt>
 *    <dd>
 *    	none
 *    </dd>
 *    <dt><b>Description:</b></dt>
 *    <dd>
 *    	<p>配置操作日志表
 *    </dd>
 *
 * @author tanks
 * @date 2019-07-08 15:58:43
 */
@Service
public class ConfigLogServiceImpl extends ServiceImpl<ConfigLogMapper, ConfigLog> implements ConfigLogService {

	@Override
	public IPage<ConfigLogDto> queryPage(IPage<ConfigLogDto> page, Map<String,Object> params) {
		return this.baseMapper.queryPage(page, params);
	}

	@Override
	public List<ConfigInfo> queryBroadcastConfigInfos(){
		return this.baseMapper.queryCastAppConfig();
	}
	
	@Override
	public List<ConfigInfo> queryCastApplicationName(){
		return this.baseMapper.queryCastApplicationName();
	}

	@Override
	public void updateCast() {
		this.baseMapper.updateCast();
	}
}
